package com.fjh.springboot_01.service;

import com.fjh.springboot_01.pojo.Announcement;
import java.util.List;

public interface AnnouncementService {
    void add(Announcement announcement);
    Announcement findById(Integer id);
    List<Announcement> findPublished();
    List<Announcement> findAll();
    void update(Announcement announcement);
    void delete(Integer id);
} 